package com.net.noah.core.domain;

import com.net.common.domain.CommonDomain;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
  on 28/03/2018.
 * 生成序号的逻辑(全部公用一个序号)
 */
@Getter
@Setter
@NoArgsConstructor
public class SerialNumber extends CommonDomain {
    private String name;

    private Long step; //步长

    private Long nextVal;  //初始化为0
}

